package com.sanpu.kxe.business.trade.contract;

import com.sanpu.kxe.base.IBaseExtraView;
import com.sanpu.kxe.base.IBasePresenter;
import com.sanpu.kxe.business.trade.bean.BillTypeOutput;
import com.sanpu.kxe.business.trade.bean.RebTotalOutput;
import com.sanpu.kxe.jump.eventbus.FilterEvent;

import java.util.List;

/**
 * Description：返佣明细
 * Created by 薛勇军 on 2019/4/16.
 */

public interface RebTotalListContract {

    interface View extends IBaseExtraView<Presenter> {

        /**
         * 显示返佣明细列表
         */
        void showRebTotalView(List<RebTotalOutput> totalOutputs, boolean isFirst);

        /**
         * 上拉加载状态
         */
        void showLoadMore(String loadMore);

        /**
         * 显示全部分类
         */
        void showBillTypeView(List<BillTypeOutput> billTypeOutputs);
    }

    interface Presenter extends IBasePresenter {

        /**
         * 返佣明细列表
         */
        void myHstRebateList(int nowPage, FilterEvent mFilterEvent);

        /**
         * 获取返佣类型分类
         */
        void getRebateType();
    }
}
